package dao.impl;

import dao.UserDao;
import domain.User;
import lombok.Data;

import java.util.List;
import java.util.Map;
import java.util.Properties;

@Data
public class UserDaoImpl implements UserDao {
    private String username;
    private int age;

    private List<String> strList;
    private Map<String, User> usermap;
    private Properties properties;

    public UserDaoImpl() {
        System.out.println("UserDaoImpl创建....");
    }

    @Override
    public void save() {
        System.out.println(strList);
        System.out.println(usermap);
        System.out.println(properties);
        System.out.println(username+"==="+age);
        System.out.println("save");
    }
}
